package com.controller;

import com.service.RedisServiceImpl;
import com.vo.ResponseBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class GeoController {

    @Autowired
    private RedisServiceImpl redisService;

    @RequestMapping("/addMapPoint")
    public ResponseBean addMapPoint(){
        List list=redisService.addMapPoint();
        System.out.println(list);
        return new ResponseBean(0,0,list);
    }

}
